package org.jcut.service;

import java.util.List;

import org.jcut.bean.Commodity;

public interface CommodityService {
    int deleteByPrimaryKey(String id);

    int insert(Commodity record);

    int insertSelective(Commodity record);

    Commodity selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(Commodity record);

    int updateByPrimaryKey(Commodity record);
    
    List<Commodity> selectAll();
    
    int  updateDis(Commodity commodity);
    
    List<Commodity> selectBySid(String sid);
    
    List<Commodity> chooseSelect(Commodity commodity);
    
    List<Commodity> adminBySid(String sid);
}
